Skip to content

Workaround #2335 issue in bootstraped REPL #2338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2017

Conversation

OlivierBlanvillain
Copy link
Contributor

No description provided.

@OlivierBlanvillain OlivierBlanvillain requested a review from smarter May 1, 2017 10:09
@@ -15,12 +15,20 @@ case class TermState(
) extends TermAction

object TermState {
// Using unapply instead exposes a dotty/scalac variation. Because TermState
// is case class, scalac generate an unapply with this exact signature, that
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: is a case class

@@ -15,12 +15,20 @@ case class TermState(
) extends TermAction

object TermState {
// Using unapply instead exposes a dotty/scalac variation. Because TermState
// is case class, scalac generate an unapply with this exact signature, that
// is used by the TermInfo | TermAction unapplies. With dotty, the generated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say TermInfo and TermAction instead of TermInfo | TermAction to avoid confusion with union types here.

@OlivierBlanvillain OlivierBlanvillain merged commit a37d233 into scala:master May 1, 2017
@OlivierBlanvillain OlivierBlanvillain deleted the workaround-#2335 branch May 1, 2017 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants